package com.danco.training.property;

public class PropertyAccess {

	
	
	private static PropertyReader propertyReader = PropertyReader.getPropertyReaderInstance();
	
	public static int getMonths(){
		return Integer.parseInt(propertyReader.getProps().getProperty("months"));
	}
	
	public static boolean getClaimSetExecutedPossibility(){
		return Boolean.parseBoolean(propertyReader.getProps().getProperty("setclaim"));
	}
	
	public static String getSerializationFile(){
		return propertyReader.getProps().getProperty("serialization_file");
	}
}
